//create by lwy 2017年2月12日14:19:56
//mui初始化
mui.init({
				swipeBack:true //启用右滑关闭功能
			});
			var slider = mui("#slider");
					slider.slider({
						interval: 5000
					});

//购物车跳转
var cart=document.getElementById('cart');
cart.addEventListener('tap',function(){
	window.location.href='cart.html';
});
//跳转至个人中心
var index=document.getElementById('me');
index.addEventListener('tap',function(){
	window.location.href='personal_v2.html';
})
//跳转到购物车
var cart=document.getElementById('cart');
cart.addEventListener('tap',function(){
	window.location.href='cart.html';
});